package org.dromara.work.domain.vo;

import java.util.Date;

import org.dromara.work.domain.MhContent;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 地名门户内容视图对象 dm_mh_content
 *
 * @author Chen
 * @date 2025-02-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = MhContent.class)
public class MhContentVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 是否置顶
     */
    @ExcelProperty(value = "是否置顶")
    private Boolean isTop;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 栏目id
     */
    @ExcelProperty(value = "栏目id")
    private Long categoryId;

    /**
     * 文章简介
     */
    @ExcelProperty(value = "文章简介")
    private String summary;

    /**
     * 文章内容
     */
    @ExcelProperty(value = "文章内容")
    private String content;

    /**
     * 关键字
     */
    @ExcelProperty(value = "关键字")
    private String keyword;

    /**
     * 发布时间
     */
    @ExcelProperty(value = "发布时间")
    private Date pulishTime;

    /**
     * 作者
     */
    @ExcelProperty(value = "作者")
    private String author;

    /**
     * 新闻来源
     */
    @ExcelProperty(value = "新闻来源")
    private String source;

    /**
     * 是否发布
     */
    @ExcelProperty(value = "是否发布")
    private Boolean isPublish;

    private String photo;


}
